package manager.bean;

import java.util.Date;

public class Order {
    private int id;
    private int staff_id;
    private long money;
    private Date ordertime;

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", staff_id=" + staff_id +
                ", money=" + money +
                ", ordertime=" + ordertime +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStaff_id() {
        return staff_id;
    }

    public void setStaff_id(int staff_id) {
        this.staff_id = staff_id;
    }

    public long getMoney() {
        return money;
    }

    public void setMoney(long money) {
        this.money = money;
    }

    public Date getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }

    public Order() {
    }

    public Order(int id, int staff_id, long money, Date ordertime) {
        this.id = id;
        this.staff_id = staff_id;
        this.money = money;
        this.ordertime = ordertime;
    }
}
